﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Model
{
    /// <summary>
    /// 房子预约记录
    /// </summary>
    public class HouseOrder
    {
        private int _id;                    // PK

        public int Id
        {
            get { return _id; }
            set { _id = value; }
        }


        private int _houseId;               // FK   房子Id

        public int HouseId
        {
            get { return _houseId; }
            set { _houseId = value; }
        }


        private int _clientId;              // FK   客户Id

        public int ClientId
        {
            get { return _clientId; }
            set { _clientId = value; }
        }


        private int _statusCodeId;            // FK   状态码

        public int StatusCodeId
        {
            get { return _statusCodeId; }
            set { _statusCodeId = value; }
        }


        private int _isClientConfirmed;       // 客户是否确认

        public int IsClientConfirmed
        {
            get { return _isClientConfirmed; }
            set { _isClientConfirmed = value; }
        }


        private int _isHouseHolderConfirmed;  // 房主是否确认

        public int IsHouseHolderConfirmed
        {
            get { return _isHouseHolderConfirmed; }
            set { _isHouseHolderConfirmed = value; }
        }
    }
}
